import './assets/main.less'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import trackEventDirective from '@/common/directives/track'
import './register-sw'
import 'element-plus/theme-chalk/dark/css-vars.css'

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.directive('track', trackEventDirective)

app.mount('#app')
